package com.woniuxy.student.consumer.feginclient;

import com.woniuxy.entity.ResponseResult;
import com.woniuxy.entity.Student;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author 作者
 * @create 2025-06-30 10:45
 */
@FeignClient(value = "weather-provider",url = "http://t.weather.sojson.com")
public interface WeatherFeignClient {

    @GetMapping("/api/weather/city/{cid}")
    public ResponseResult<Object> getBySid(@PathVariable("cid") String cid);


}
